home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BK-SC1_1.DMS / in.adf / Examples.Lha / shared lib example / lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  403 b   |  20 lines

  1. #ifndef LIB_H
  2. #define LIB_H
  3.  
  4. #include <exec/libraries.h>
  5.  
  6. /*
  7.    Dies ist die Basisstruktur für die neue Bibliothek.
  8.    
  9.    Das erste Element ist immer ein struct Library, dann folgen die öffentlich
  10.    zugänglichen Elemente. Private Elemente der Bibliothek sollte man in
  11.    normalen Variablen deklarieren, nicht in dieser Struktur.
  12. */
  13.  
  14. struct LibBase {
  15.     struct Library base;
  16.     int last_result;
  17. };
  18.  
  19. #endif
  20.